package com.cn.xiaonuo.slbfinances.slbwallets.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cn.xiaonuo.common.entity.BusinessMessage;
import com.cn.xiaonuo.slbfinances.shopassets.entity.SlShopWallet;
import com.cn.xiaonuo.slbfinances.shopassets.entity.SlbShop;

public interface IShopWalletService extends IService<SlShopWallet> {
    /**
     * 查询商户钱包列表
     *
     */
    public BusinessMessage queryShopWalletList(Integer pageNum,Integer pageSize,
                                               Integer userId
    );

    /**
     * 查询商户余额变化列表
     */
    public BusinessMessage queryYEChangeLogList(Integer pageNum,Integer pageSize,
                                                Integer userId
    );

    /**
     * 获取钱包
     * @param userId
     * @return
     */
    SlShopWallet getByUserId(Integer userId);
}
